#version 330 core

layout(location = 0) in vec3 aPos;
layout(location = 1) in vec3 aColor;
uniform mat4 projViewMat;
out vec4 vcolor;

void main(){
    gl_Position = projViewMat * vec4(aPos.x, aPos.y, aPos.z, 1.0f);
    vcolor = vec4(aColor,1.0f);
}
